package com.xuecheng.api.content;

import com.xuecheng.api.content.model.dto.CourseBaseDTO;
import com.xuecheng.api.content.model.qo.QueryCourseBaseModel;
import com.xuecheng.api.content.model.vo.CourseBaseVO;
import com.xuecheng.common.domain.page.PageRequestParams;
import com.xuecheng.common.domain.page.PageVO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
import io.swagger.annotations.ApiOperation;

@Api(value = "内容管理API",tags = "内容信息管理api接口")
public interface CourseBaseApi {

    @ApiOperation("课程基础信息条件分页查询")
    PageVO queryCourseBaseList(PageRequestParams params, QueryCourseBaseModel model);

    @ApiOperation("课程基础信息新增")
    CourseBaseDTO createCourseBase(CourseBaseVO vo);

    @ApiOperation("根据ID查询课程基础信息")
    CourseBaseDTO getById(Long courseId);
    @ApiOperation("修改课程基础信息")
    CourseBaseDTO modifyCourseBase(CourseBaseVO vo);

   @ApiOperation("根据ID删除课程")
    @ApiImplicitParam(name = "courseBaseId", value = "课程id值", required = true, paramType = "path")
    void removeCourseBase(Long courseBaseId);

}
